package cn.stylefeng.guns.modular.business.frequency.orderbonus.service;

import cn.stylefeng.guns.core.pojo.page.PageResult;
import cn.stylefeng.guns.core.pojo.response.ResponseData;
import cn.stylefeng.guns.modular.business.frequency.orderbonus.entity.OrderBonus;
import cn.stylefeng.guns.modular.business.frequency.orderbonus.model.param.OrderBonusParam;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * 奖金记录表(activityMq异步处理) 服务类
 *
 * @author yujie
 * @date 2023/05/09 17:16
 */
public interface OrderBonusService extends IService<OrderBonus> {

    /**
     * 分页查询奖金记录表(activityMq异步处理)
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    PageResult<OrderBonus> page(OrderBonusParam orderBonusParam);

    /**
     * 查询所有奖金记录表(activityMq异步处理)
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    List<OrderBonus> list(OrderBonusParam orderBonusParam);

    /**
     * 添加奖金记录表(activityMq异步处理)
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void add(OrderBonusParam orderBonusParam);

    /**
     * 删除奖金记录表(activityMq异步处理)
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void delete(OrderBonusParam orderBonusParam);

    /**
     * 编辑奖金记录表(activityMq异步处理)
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void edit(OrderBonusParam orderBonusParam);

    /**
     * 查看详情奖金记录表(activityMq异步处理)
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    OrderBonus detail(OrderBonusParam orderBonusParam);

    /**
     * 修改状态（字典 0正常 1停用 2删除）
     *
     * @author yujie
     * @date 2023/05/09 17:16
     */
    void changeStatus(OrderBonusParam orderBonusParam);

    ResponseData appPage(OrderBonusParam orderBonusParam);

    ResponseData appDetail(OrderBonusParam orderBonusParam);

    ResponseData statistics(OrderBonusParam orderBonusParam);
}